﻿namespace BaseData.API.Read.Dtos
{
    /// <summary>
    /// 用户分配角色,用户分配功能DTO
    /// </summary>
    public class UserByMenuDTO
    {
       
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? UserNickname { get; set; }
        /// <summary>
        /// 角色编号集合
        /// </summary>
        public List<int> RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>

        public List<string>? RoleName { get; set; }
        /// <summary>
        /// 功能编号集合
        /// </summary>
        public List<int> MenuId { get; set; }
        /// <summary>
        /// 功能权限名称集合
        /// </summary>
        public List<string>? MenuName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; } = false;
        /// <summary>
        /// token令牌
        /// </summary>

        public string? Token { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
